import { createRouter, createWebHashHistory } from 'vue-router'
import PageIndex from '@/pages/Index.vue'
import PageAppCenter from '@/pages/AppCenter.vue'
import PageWorkSpace from '@/pages/WorkSpace.vue'

const routes = [
  { path: '/', component: PageIndex },
  { path: '/appCenter', component: PageAppCenter },
  { path: '/workSpace', component: PageWorkSpace }
]

export default createRouter({
  history: createWebHashHistory(),
  routes
})
